﻿using System.Collections.Generic;
using System.Linq;
using PortalCurriculo.Domain.Interface;

namespace PortalCurriculo.Domain
{
    public partial class Nivel : INivel
    {
        public List<Nivel> SelecionarAtivos()
        {
            return (from nivel in Context.Instance.Nivels
                    where nivel.Ativo
                    orderby nivel.Sequencial
                    select nivel).ToList();
        }
    }
}
